<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>电影修改</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="referrer" content="no-referrer" />
    <link rel="shortcut icon" href="favicon.ico">
    <link href="/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="/admin/css/animate.css" rel="stylesheet">
    <link href="/admin/css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>电影修改</h5>
                    </div>
                    <div class="ibox-content">
                        <form action="/admin/movies/modify/<%= movie.id %>" method="post" role="form">
                            <div class="form-group">
                                <label for="">名字</label>
                                <input type="text" class="form-control" name="title" required placeholder="请输入电影的名字"
                                    value="<%= movie.title %>">
                            </div>
                            <div class="form-group">
                                <label for="">类别</label>
                                <input type="text" class="form-control" name="categories" placeholder="请输入电影的类别"
                                    value="<%= movie.categories %>">
                            </div>
                            <div class="form-group">
                                <label for="">主图</label>
                                <input type="text" class="form-control" name="coverImg" placeholder="请输入电影的主图"
                                    value="<%= movie.coverImg %>">
                            </div>
                            <div class="form-group">
                                <label for="">连接</label>
                                <input type="text" class="form-control" name="link" placeholder="请输入电影的连接"
                                    value="<%= movie.link %>">
                            </div>
                            <div class="form-group">
                                <label for="">简介</label>
                                <textarea rows="3" class="form-control" name="desc"
                                    placeholder="请输入电影的简介"><%= movie.desc %></textarea>
                            </div>
                            <div class="form-group">
                                <label for="">浏览次数</label>
                                <input type="text" class="form-control" name="views" placeholder="请输入电影的浏览次数"
                                    value="<%= movie.views %>">
                            </div>


                            <button type="submit" class="btn btn-primary">保存</button>
                            <a href="/admin/movies" class="btn btn-info">返回</a>
                        </form>

                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 全局js -->
    <script src="/admin/js/jquery.min.js?v=2.1.4"></script>
    <script src="/admin/js/bootstrap.min.js?v=3.3.6"></script>


</body>

</html>